from django.urls import path
from apps.users.views import UsernameCountView,RegisterView,Ceshi,LoginView,LogoutView,CenterView,EmailView
from apps.users.views import EmailVerifyView


urlpatterns=[
    path('usernames/<username:username>/count/',UsernameCountView.as_view()),#判断用户名是否重复
    path('register/', RegisterView.as_view()),
    path('ceshi/', Ceshi.as_view()),
    path('login/',LoginView.as_view()),
    path('logout/',LogoutView.as_view()),
    path('center/',CenterView.as_view()),
    path('info/',CenterView.as_view()),
    path('emails/',EmailView.as_view()),
    path('emails/verification/',EmailVerifyView.as_view()),

]
